package reflection.Classes;

import java.lang.reflect.Modifier;

public class MyClass {

	public static void main(String... args) {
		Class<MyClass> myClass = MyClass.class;
		System.out.println("-full name: " + myClass.getName() + "\n-short name: " + myClass.getSimpleName());
		int modifier = myClass.getModifiers();
		System.out.println(modifier);
		System.out.println(Modifier.isPublic(modifier));
	}
}
